package com.ddwl.schema.vo.wallet;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;


@Getter
@Setter
public class DistOrderInfoVo {

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "订单号")
    private String orderId;

    @ApiModelProperty(value = "下单用户ID")
    private String orderUserId;

    @ApiModelProperty(value = "订单金额")
    private BigDecimal orderPrice;

    @ApiModelProperty(value = "下单原数据")
    private String source;

    @ApiModelProperty(value = "订单商品信息")
    private String orderSpu;

    @ApiModelProperty(value = "订单状态")
    private Integer orderStatus;

    @ApiModelProperty(value = "订单区域")
    private String orderRegion;

    @ApiModelProperty(value = "订单付款时间")
    private Instant payTime;

    @ApiModelProperty(value = "订单确认收货时间")
    private Instant confirmTime;

    @ApiModelProperty(value = "分销员ID.最终分享的分销员")
    private String distUserId;

    @ApiModelProperty(value = "区域合伙人id")
    private String regionUserId;

    @ApiModelProperty(value = "分润金额")
    private BigDecimal tradeAmount;

    @ApiModelProperty(value = "结算时间")
    private Instant clearingTime;

    @ApiModelProperty(value = "店铺ID")
    private String shopId;

    @ApiModelProperty(value = "商户id")
    private String mchId;

    @ApiModelProperty(value = "0平台订单1商户订单")
    private Integer platformTag;

    @ApiModelProperty(value = "订单类型 (0普通订单 1秒杀单 2砍价单)")
    private Integer orderType;

    @ApiModelProperty(value = "创建时间")
    private Instant gmtCreated;

    @ApiModelProperty(value = "修改时间")
    private Instant gmtModified;
}
